package com.wf.it.hpplan;

import com.codingapi.txlcn.tc.config.EnableDistributedTransaction;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableEurekaClient
@EntityScan("com.wf.it.common.entity")
@EnableJpaRepositories("com.wf.it.hpplan.dao")
@EnableFeignClients(basePackages = "com.wf.it.common.api")
@ComponentScan(basePackages = "com.wf.it")
@EnableDistributedTransaction
@EnableScheduling
public class HpPlanApplication {
    public static void main(String[] args) {
        SpringApplication.run(HpPlanApplication.class, args);
    }

}
